﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq; 
using System.Collections.Generic;
using Ccit.OA.MsGroup;

namespace Ccit.OA.Group
{
    public interface IGroup
    {
        /// <summary>
        /// 获取分组信息tree
        /// </summary>
        /// <returns></returns>
        string GetGroupMes(string Query);
        /// <summary>
        /// 保存分组信息
        /// </summary>
        /// <returns></returns>
        List<string> DoSaveGroupMes(MsGroupMes ms);
        /// <summary>
        /// 获取编辑页面信息
        /// </summary>
        /// <param name="sRecId"></param>
        /// <returns></returns>
        MsGroupMes GetGroupMesInfo(string sRecId);
        /// <summary>
        /// 删除分组信息
        /// </summary>
        /// <param name="sRecId"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        List<string> DoOperate(string sRecId, string UserId, string type);
        /// <summary>
        /// 保存分组详细信息
        /// </summary>
        /// <param name="ms"></param>
        /// <returns></returns>
        List<string> DoSaveDetail(MsGroupDetail ms);
        /// <summary>
        /// 获取分组明细
        /// </summary>
        /// <param name="GroupId"></param>
        /// <returns></returns>
        DataSet GetGroupDetailMes(string GroupId);
    }
}
